home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat España 15
/
macformat_15.iso
/
C de cerca
/
Codewarrior Lite
/
MacOS Support
/
Headers
/
ANSI Headers
/
defines
< prev
next >
Wrap
Text File
|
1995-12-29
|
1KB
|
59 lines
// defines standard header
#ifndef _DEFINES_
#define _DEFINES_
#ifndef _YXVALS_
#include <yxvals.h>
#endif
#if __MWERKS__
#pragma options align=mac68k
#if __CFM68K__ && __USING_IMPORTED_ANSI__
#pragma import on
#endif
#endif
// type definitions
typedef void fvoid_t();
#ifndef _PTRDIFFT
#define _PTRDIFFT
typedef _Ptrdifft ptrdiff_t;
#endif
#ifndef _SIZET
#define _SIZET
typedef _Sizet size_t;
#endif
#ifndef _WCHART
#define _WCHART
typedef _Wchart wchar_t;
#endif
#ifndef _WINTT
#define _WINTT
typedef _Wintt wint_t;
#endif
enum capacity {default_size, reserve};
// constants
const size_t NPOS = (size_t)(-1);
// functions
void _Nomemory();
#if __MWERKS__
#if __CFM68K__ && __USING_IMPORTED_ANSI__
#pragma import reset
#endif
#pragma options align=reset
#endif
#endif
/*
* Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
*/
/* Change log:
*94June04 PlumHall baseline
*94Oct07 Inserted MW changes.
*/